package com.yw.common.core.fs.config.proxy;

import java.util.Map;

import com.yw.common.core.fs.config.IConfigReader;
import com.yw.common.core.fs.config.exception.ConfigReaderException;
import com.yw.common.core.fs.config.impl.TxtConfigReaderImpl;

/**
 * 读取txt配置代理
 * @author aoshiguchen
 * @time 2015-08-20	
 */

public final class TxtConfigReaderProxy implements IConfigReader{
	private IConfigReader impl;
	
	public TxtConfigReaderProxy(TxtConfigReaderImpl impl){
		this.impl = impl;
	}
	
	@Override
	public Map<String, String> readAll() throws ConfigReaderException {
		
		return impl.readAll();
	}

}
